<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            padding: 0;
            margin: 0;
        }
    </style>
    <link rel="stylesheet" href="mySwiper.css">
</head>
<body>
    <div class="swiper-container">

        <div class="swiper-wrapper">
            <div class="swiper-slide">
                <img src="../lib/image/m1.jpg" alt="">
            </div>
            <div class="swiper-slide">
                <img src="../lib/image/m2.jpg" alt="">
            </div>
            <div class="swiper-slide">
                <img src="../lib/image/m3.jpg" alt="">
            </div>
            <div class="swiper-slide">
                <img src="../lib/image/m4.jpg" alt="">
            </div>
            <div class="swiper-slide">
                <img src="../lib/image/m5.jpg" alt="">
            </div>
            <div class="swiper-slide">
                <img src="../lib/image/lz1.jpg" alt="">
            </div>
            <div class="swiper-slide">
                <img src="../lib/image/lz2.jpg" alt="">
            </div>
            <div class="swiper-slide">
                <img src="../lib/image/lz3.jpg" alt="">
            </div>
        </div>
        
        <div class="arrow arrow-l" onclick="goNext()"><</div>
        <div class="arrow">></div>
    </div>

    <script src="../jquery/jquery.min.js"></script>
    <script src="mySwiper.js"></script>
    
    <script>
        
        new Swiper('.swiper-container', {
            // 是否无缝轮播
            loop: true,
            // 是否有小点
            hasDott: true,
            // 是否自动播放
            autoPlay: true,
            // 设置播放时长
            duration: 4000,
        });
    </script>
</body>
</html>